@echo off

set a=0

setlocal EnableDelayedExpansion

for /l %%i in (0,1,50) do (

ren "%%i.png" "alert_!a!.png"
set /A a+=1
)

pause